﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;

namespace PlutoStudio.Data.Common
{
    public interface ISqlClientProvider
    {
        DbConnection GetConnection(string connectionString);

        DbParameter GenerateParameter<T>(T item, PropertyItem column);

        DbParameter GenerateParameter(PropertyItem column,object value);

        string GenerateIdentifier(string name);

        string GenerateParameterName(string name);
    }
}
